<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">

<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->

    <!-- BEGIN HEAD -->
        <head>
		<meta charset="utf-8"/>
		<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
		<meta content="width=device-width, initial-scale=1" name="viewport" />
		<meta content="" name="author" />
		<link rel="shortcut icon" href="/static/favicon.ico" />
		<title>重设密码</title>
		<link href = "/static/pages/css/regist.css" rel="stylesheet" style="text/css"/>
	</head>
	
	<!--[if lt IE 9]>
	<script src="/static/global/plugins/respond.min.js"></script>
	<script src="/static/global/plugins/excanvas.min.js"></script> 
	<script src="/static/global/plugins/ie8.fix.min.js"></script> 
	<![endif]-->
	<script src="/static/global/plugins/require/require.js"></script>
	<script src="/static/require.config.js"></script>
	
    <!-- END HEAD -->
    <body class="regist" style="margin:0px;">
        <!-- BEGIN : LOGIN PAGE 5-1 -->
        <div class="user-regist-5" id="user-regist">
            <div class="row bs-reset">
                <div class="col-md-6 bs-reset mt-regist-5-bsfix">
                    <div class="regist-bg" style="background: none; position: relative; z-index: 0;">
                        <img class="regist-logo" src="/static/layouts/layout/img/logo.png"> <div class="backstretch" style="left: 0px; top: 0px; overflow: hidden; margin: 0px; padding: 0px;  height: 0px;  */width: 960px; z-index: -999998; position: absolute;"><img style="position: absolute; margin: 0px; padding: 0px; border: none; width: 960px; height: 0px; max-height: none; max-width: none; z-index: -999999; left: 0px; top: -112.5px;" src="/static/pages/img/regist/bg2.jpg"></div></div>
                </div>
                <div class="col-md-6 regist-container bs-reset mt-regist-5-bsfix">
                    <div class="regist-content">
                    
                        <h3>重设密码</h3>
                        <p></p>
                    
                    	<!-- 通过手机注册 -->
                        <form id="change_form" action="/user/forget/verify_account" method="post" style="margin-top: 80px">
                           	<input type="password" class="hidden"/>
                           	<input type="hidden" name="uuid" th:value="${uuid}"/>
                           	<input type="hidden" name="email" th:value="${email}"/>
                            <div class="alert alert-success" id="change_form_success_tip">
                                <span>账号：<span id="change_email" th:text="${email}"></span></span>
                            </div>
                        	<div class="alert alert-danger display-hide" id="change_form_error_tip">
                                <span>Enter any username and password. </span>
                            </div>
                            <div class="form-group" style="margin-bottom:30px">
                               	<div class="input-icon">
                               		<i class="icon-lock"></i>
                                   	<input class="form-control placeholder-no-fix form-group" type="password" autocomplete="off" placeholder="请输入新密码" name="password" id="pwd">
                                </div> 
                            </div>
                            <div class="form-group" style="margin-bottom:30px">
                            	<input type="password" class="hidden"/>
                               	<div class="input-icon">
                               		<i class="icon-lock"></i>
                                   	<input class="form-control placeholder-no-fix form-group" type="password" autocomplete="off" placeholder="请输入新密码" name="repassword">
                                </div> 
                            </div>
                            <div class="form-actions">
                            	<a class="btn blue-steel btn-outline" href="/signOut" style="border-radius: 25px !important;">返回登录</a>
                                <button id="change_submit" type="button" class="btn green pull-right">提交</button>
                            </div>
                        </form>
                        
                    </div>
                    <div class="regist-footer">
                        <div class="row bs-reset">
                            <div class="col-xs-12 bs-reset">
                                <div class="regist-copyright text-right">
                                    <p> © 2018 巴巴电商金融研究院  qq群460395575 </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>
	<script type="text/javascript">
		// 创建app.js 调用helper
		require(['./static/pages/scripts/changepwd'], function(changepwd){
			require([
				'jquery',
				'jquery-lazyload',
				'backstretch',
			],function($){
				$(".backstretch img").lazyload({effect: "fadeIn"});
				// 轮播背景
				$('.regist-bg').backstretch([
					"/static/pages/img/login/bg1.jpg",
					"/static/pages/img/login/bg2.jpg",
					"/static/pages/img/login/bg3.jpg"
					], {
					fade: 1000,
					duration: 8000
				});
			});
			changepwd.init();
		});	
	</script>
</html>